package com.emm.yixun.common.app;

import net.sf.oval.constraint.NotEmpty;

public class BaseDataReqDto {

    @NotEmpty(message = "主键不能为空")
    private String id;

    @NotEmpty(message = "业态名称不能为空")
    private String name;

    private String effectiveTime;

    private String expiredTime;

    @NotEmpty(message = "上级业态id不能为空")
    private String parent;

    public String getId() {
	return id;
    }

    public void setId(String id) {
	this.id = id;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getEffectiveTime() {
	return effectiveTime;
    }

    public void setEffectiveTime(String effectiveTime) {
	this.effectiveTime = effectiveTime;
    }

    public String getExpiredTime() {
	return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
	this.expiredTime = expiredTime;
    }

    public String getParent() {
	return parent;
    }

    public void setParent(String parent) {
	this.parent = parent;
    }

    public BaseDataReqDto(String id, String name, String effectiveTime,
	    String expiredTime, String parent) {
	super();
	this.id = id;
	this.name = name;
	this.effectiveTime = effectiveTime;
	this.expiredTime = expiredTime;
	this.parent = parent;
    }

    public BaseDataReqDto() {
	super();
    }

}
